#pragma once
#ifndef xTimer_h__
#define xTimer_h__

#include "../inc/skyType.h"

//#include <windows.h>

namespace Sky
{
	typedef TVoid    (*TimerProc) (TVoid* pUser) ;
	class Timer
	{
	public:
		
		typedef struct _myAdapData_
		{
			TimerProc proc;
			TVoid*     pUser;
		}myAdapData;
		
	private:
		
	public:
		Timer():mCreated(vFalse){}
		~Timer();
		TBool CreateTimer(TInt timerID,TimerProc proc,TInt span,TVoid* pUser);
		TVoid DeleteTimer(TInt timerID);
		TBool mCreated;
		TUint mTimerID;
	};
}
#endif // 
